package cn.pzhu.pserson.dto;

import cn.pzhu.pserson.util.BeanUtil;
import cn.pzhu.pserson.model.Wxconfig;
import java.io.Serializable;


public class WxconfigDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private String accessToken;
        
        private String appid;
        
        private String secret;
        
        private String attr1;
        
        private String attr2;
        
        private String attr3;
        
        private String atr4;
        
        private String attr5;
        
        private String attr6;
        
        private String attr7;
        
        public String getAccessToken() {
            return this.accessToken;
        }
        
        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }
        
        public String getAppid() {
            return this.appid;
        }
        
        public void setAppid(String appid) {
            this.appid = appid;
        }
        
        public String getSecret() {
            return this.secret;
        }
        
        public void setSecret(String secret) {
            this.secret = secret;
        }
        
        public String getAttr1() {
            return this.attr1;
        }
        
        public void setAttr1(String attr1) {
            this.attr1 = attr1;
        }
        
        public String getAttr2() {
            return this.attr2;
        }
        
        public void setAttr2(String attr2) {
            this.attr2 = attr2;
        }
        
        public String getAttr3() {
            return this.attr3;
        }
        
        public void setAttr3(String attr3) {
            this.attr3 = attr3;
        }
        
        public String getAtr4() {
            return this.atr4;
        }
        
        public void setAtr4(String atr4) {
            this.atr4 = atr4;
        }
        
        public String getAttr5() {
            return this.attr5;
        }
        
        public void setAttr5(String attr5) {
            this.attr5 = attr5;
        }
        
        public String getAttr6() {
            return this.attr6;
        }
        
        public void setAttr6(String attr6) {
            this.attr6 = attr6;
        }
        
        public String getAttr7() {
            return this.attr7;
        }
        
        public void setAttr7(String attr7) {
            this.attr7 = attr7;
        }
        
        public Wxconfig toModel() {
            Wxconfig model = new Wxconfig();
			BeanUtil.convert(this, model);
			return model;
        }
    
}